<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<td><a href="#"><img src="/HotelSSM/resources/upload/1547865202071.jpg" alt=""></a>
</td>
<td align="center">
    <p>商务大床房</p>
    <p class="sub_txt">商务大床房，面积40平左右！</p>
</td>
<td>2</td>
<td>1</td>
<td>429.0</td>
<td>


    可预订

</td>
<td>


    <input type="button" value="预订" onclick="window.location.href='account/book_order?roomTypeId=4'">

</td>

<div>
<!--    <p th:text="${username}">fd</p>-->
<!--    <a href="login.html">登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;-->
<!--    <a href="reg.html">注册</a>&nbsp;-->
    <p>
    <p th:if="${username==null}">
        <a href="/login">登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;
        <a href="/reg">注册</a>&nbsp;
    </p>
    <p th:if="${username!=null}">
        <font color="red">欢迎您：  <p th:text="${username}"/></font>
        <a href="account/index">用户中心</a>&nbsp;&nbsp;|&nbsp;&nbsp;
        <a href="/login">注销登录</a>&nbsp;
    </p>
    </p>
</div>



</body>
</html>
